package edu.lingnan.rili.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import edu.lingnan.rili.converter.LocalDateTimeConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Author xbaozi
 * @TableName tb_addawarded
 * @date 2022/3/20 21:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value ="tb_addawarded")
@ApiModel("校内比赛加分实体类")
public class Addawarded implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "比赛名称", index = 5)
    @ApiModelProperty("比赛名称")
    private String gameNames;

    @ExcelProperty(value = "获奖名次", index = 6)
    @ApiModelProperty("获奖名次")
    private String gameRankings;

    @ExcelIgnore
    @ApiModelProperty("证明材料")
    private String gameMaterials;

    @ExcelProperty(value = "加分分数", index = 7)
    @ApiModelProperty("加分分数")
    private Double scores;

    @ExcelProperty(value = "加分类型", index = 8)
    @ApiModelProperty("加分类型")
    private String addtypes;

    @ExcelProperty(value = "加分时间", index = 9, converter = LocalDateTimeConverter.class)
    @ApiModelProperty("加分时间")
    private LocalDateTime addawardedTime;

    @ExcelIgnore
    @ApiModelProperty("是否公示，0未公示，1为公示")
    private String pubblicityType;

    @ExcelIgnore
    @ApiModelProperty("参考学号")
    private String usersId;
}